package com.sams.service;

 
 
import java.util.List;

import com.github.pagehelper.PageInfo;
import com.sams.entity.SchoolSub;
import com.sams.entity.User;

public interface SchoolSubService{

	PageInfo<SchoolSub> listStu(Integer currentPage, String name, String idcard, Integer schid, String subname,
			User user,Integer zid);

	SchoolSub findById(Integer id);

	void delete(Integer id);

	int add(SchoolSub schoolSub) throws Exception;

	void update(SchoolSub sub) throws Exception;

	boolean insertBatch(List<SchoolSub> stuList)  throws Exception;
	
	public String selectIdCard(String idcard, String project,Integer schid,Integer id);

	void deleteBatch(String ids);

}